package com.whz.serial;

import java.util.Arrays;

/**
 * @ClassName ElvisEnum
 * @Description TODO Elvis的枚举版本
 * @Author hong-zhi
 * @Date 2021/5/27 10:25
 * @Version 1.0
 */
public enum ElvisEnum {
    INSTANCE;
    private String[] favoriteSongs = {"Hound Dog", "Heartbreak Hotel"};
    public void printFavorites() {
        System.out.println(Arrays.toString(favoriteSongs));
    }
}
